//
//  StandAudioViewController.swift
//  onemeetingmac
//
//  Created by 张衡 on 2020/6/19.
//  Copyright © 2020 onemeeting. All rights reserved.
//

import Foundation

class StandAudioViewController: BaseViewController {
    override func loadView() {
        let view = NSView.init(frame: NSRect.init(x: 0, y: 0, width: 240, height: 80))
        view.wantsLayer = true
        view.layer?.backgroundColor = NSColor.black.cgColor
        self.view = view
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.setupUI()
    }
    
    func setupUI() {
        self.view.layer?.backgroundColor = color_dark60.cgColor
        self.view.addSubview(self.speakerLab)
        speakerLab.snp.makeConstraints { (make) in
            make.height.equalTo(20)
            make.left.equalTo(20)
            make.top.equalToSuperview().offset(50)
        }
    }
    
    lazy var speakerLab: NSLabel = {
        let lab = NSLabel.label(title: "在讲话", textColor: color_gray(230), font: NSFont.systemFont(ofSize: 12))
        lab.sizeToFit()
        return lab
    }()
    
}
